<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0060)http://b2office.com.cn/pwdmodifyinit.do?method=ModifyPwdInit -->
<HTML><HEAD><TITLE>碧城</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="css/head.css" type=text/css rel=stylesheet><LINK 
href="css/vip.css" type=text/css rel=stylesheet><LINK 
href="css/style.css" type=text/css rel=stylesheet><LINK 
href="css/tuangou.css" type=text/css rel=stylesheet>
<SCRIPT src="js/myb2h.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/checkPwdIsRight.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/checkPwdTelIsRight.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/updatePwd.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/updatePwdTel.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/engine.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/util.js" type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"]>
</HEAD>
<BODY>
<SCRIPT src="js/login.js" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
function checkSerach(){
var productname = document.getElementById("title").value;
	if(productname == null || productname == ""){
		
		alert('请输入商品名称');
		return false;
	}	
	else{
		if(productname.replace(/\s/g,"") == ""){
			window.location.href = "menu.do?method=MenuShow";
			return false;
		}else{
			return true;
		}
	
	}
}
</SCRIPT>
<LINK href="css/style.css" type=text/css rel=stylesheet><LINK 
href="css/head.css" type=text/css rel=stylesheet>
<#------------------------------------------------------------->
 <#include "/WEB-INF/view/header.ftl" />
<#-------------------------------------------------------------->
<LINK href="css/style.css" type=text/css rel=stylesheet>
<LINK href="css/vip.css" type=text/css rel=stylesheet>
<DIV class=vip_outer1>
<DIV class=viphead_left></DIV>
<DIV class=viphead_midst1>
<DIV class=viphead_name>${Session.user.regName?if_exists}<#if Session.user.memberno?exists> [${Session.user.memberno}]</#if>的VIP专属超市</DIV>
<DIV class=viphead_navouter>
<TABLE class=viphead_nav cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=viphead_title1><A class=viphead_link 
      href="mycollection.htm">我的收藏</A></TD>
    <TD class=viphead_title2_2><A class=viphead_link 
      href="myProfile.htm">我的个人信息</A></TD>
    <TD class=viphead_title2><A class=viphead_link 
      href="myAccount.htm">我的家庭帐本</A></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV class=viphead_midst2></DIV>
<DIV class=viphead_midst3>
<UL>
  <LI><A class=viphead_link2 
  href="#">什么是VIP专属超市?</A> 

  <LI><A class=viphead_link2 
  href="#">如何快速建立VIP专属超市?</A> 
  </LI></UL></DIV>
<DIV class=viphead_right></DIV></DIV>
<DIV class=share_body><!--我的帐户标签开始-->
<DIV class=vip_labelinner>
<TABLE class=vip_table1 cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD class=vip_table1bgleft></TD>
    <TD class=vip_table1bgmidst>
      <TABLE class=vip_labelinnertable1 cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD class=vip_table1left></TD>
          <TD class=jf_red2 
          onclick="window.location.href='myProfile.htm'">基本信息修改</TD>
          <TD class=jf_red 
          onclick="window.location.href='modifyPwd.htm'">密码修改</TD>
          <!--<TD class=jf_red2 
          onclick="window.location.href='displayaddr.do?method=DisplayAddr&amp;tag=messaddr'">收货地址修改</TD>-->
          <TD align=middle>&nbsp;&nbsp;
</TD></TR></TBODY></TABLE></TD>
    <TD class=vip_table1bgright></TD></TR></TBODY></TABLE></DIV><!--我的帐户标签结束-->
<DIV class=vip_content><FONT color=red></FONT><BR>

<#------------------------------  web passwrod form start ----------------------------------------->
<@s.form action="modifyRegPwd.htm" method="post" onsubmit="return checkForm(this);">
<INPUT type=hidden value=web name=tag> 
<TABLE class=vip_table2 cellSpacing=1 cellPadding=5 width="92%" bgColor=#ffcc66 
border=0>
  <TBODY>
  <TR>
    <TD class=plist_title4_2 align=middle bgColor=#fcdbba colSpan=2>网上注册密码修改 
    </TD></TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>原密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#-- <INPUT id=oldpwd onblur=message_checkOldPwd(this); type=password name=oldpwd> -->
    <table cellSpacing="0" cellPadding="0">
    <tr>
    <td><table cellSpacing="0" cellPadding="0"><@s.password id="regPwd" name="regPwd"/></table></td>
    <td><SPAN id=oldpwdMess></SPAN>&nbsp;&nbsp;只可以修改 网上注册密码</td>
    
    </tr>
    </table>
    </TD></TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>新密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#--<INPUT id=newpwd type=password name=newpwd>  -->
    <table cellSpacing="0" cellPadding="0">
    	<tr>
    	<td>
    		<table cellSpacing="0" cellPadding="0"> 
    		<@s.password id="newRegPwd" name="newRegPwd"/>
    		</table>
    	</td>
    	<td>&nbsp;&nbsp;密码由6-18个字符组成，请使用英文字母或数字,字母区分大小写。</td>	  
      </tr>
    </table>
    </TD>
 </TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>确认密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#--<INPUT id=compwd type=password name=compwd>  -->
    <table cellSpacing="0" cellPadding="0"><@s.password name="confirmRegPwd"/></table>
    </TD>
    </TR>
  <TR>
    <TD bgColor=#f8f1eb>&nbsp; </TD>
    <TD align=left bgColor=#ffffff><INPUT type=submit value=确认 name=submit> 
  </TD>
  </TR>
  </TBODY>
  </TABLE>
  </@s.form>
  <#------------------------------ web passwrod  form end ----------------------------------------->
  <!-- 电话注册密码修改 -->
  <#------------------------------ memberno passwrod  form start ----------------------------------------->
  <#if ifExistMemberno ==true>
<@s.form action="modifyMembernoPwd" method="post">
<INPUT type=hidden value=tel name=tag> 
<TABLE class=vip_table2 cellSpacing=2 cellPadding=5 width="92%" bgColor=#ffcc66 
border=0>
  <TBODY>
  <TR>
    <TD class=plist_title4_2 align=middle bgColor=#fcdbba colSpan=2>会员号密码修改 
  </TD></TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>原密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#---<INPUT id=oldpwdtel onblur=message_checkOldPwdTel(this); type=password name=oldpwdtel> ----> 
    <table cellSpacing="0" cellPadding="0">
    <tr>
    	<td><table cellSpacing="0" cellPadding="0"><@s.password id="numPwd" name="numPwd"/></table></td>
    	<td><SPAN id=oldpwdtelMess></SPAN>&nbsp;&nbsp;初始化密码,请致电呼叫中心咨询 52003666</td>
    </tr>
    </table>
    
    </TD>
 </TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>新密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#--<INPUT id=newpwdtel type=password name=newpwdtel> -->
     <table cellSpacing="0" cellPadding="0">
    <tr>
    	<td><table cellSpacing="0" cellPadding="0"><@s.password name="newNumPwd"/></table></td>
    	<td> &nbsp;&nbsp;密码由6位数字组成
    	</td>
    </tr>
    </table>
    
    
    </TD>
  </TR>
  <TR>
    <TD class=table_td1 align=right width="13%" bgColor=#f8f1eb>确认密码： </TD>
    <TD align=left bgColor=#ffffff>
    <#--<INPUT id=compwdtel type=password name=compwdtel> -->
    <table cellSpacing="0" cellPadding="0"><@s.password name="confirmNumPwd"/></table>
    </TD>
  </TR>
  <TR>
    <TD bgColor=#f8f1eb>&nbsp; </TD>
    <TD align=left bgColor=#ffffff><INPUT type=submit value=确认 name=submit> 
  </TD>
  </TR>
  </TBODY>
  </TABLE>
  </@s.form>
   </#if>
  <#------------------------------ memberno passwrod  form end ----------------------------------------->
  </DIV>
  </DIV><!--我的帐户外div结束-->
<DIV>
</DIV>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<LINK href="css/foot.css" type=text/css rel=stylesheet>
<DIV class=foot_outer1>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot03>
</DIV>
</DIV>

<#------------------------------ include file  -------------------------------------------->
<#include "/WEB-INF/view/footer.ftl" />
<#------------------------------  include file  ------------------------------------------->
</BODY>
</HTML>
<SCRIPT type=text/javascript>
function checkForm(regform){

	var regPwd = document.getElementById("regPwd").value;  
	
    var newRegPwd = document.getElementById("newRegPwd").value; 
    var matchnewRegPwd = /([a-zA-Z0-9]|[_]){6,18}$/;   //	6-18个字符,包括字母、数字、下划线
    
	if(regPwd ==""){
		window.alert("没有输入密码!");	
		document.getElementById("regPwd").focus();
		return false;
	}else if(!matchnewRegPwd.exec(newRegPwd)){
		alert("密码不符合要求");
		document.getElementById("newRegPwd").focus();
		return false;
	}
}
</script>